import React, { Component } from 'react'

export default class Login extends Component {
    // 登录
    login = () => {
        sessionStorage.setItem('token', "SFSJSDIJSF")
        this.props.history.push("/home/classify")
    }
    render() {
        return (
            <div>
                <button onClick={ this.login }>登录</button>
            </div>
        )
    }
}
